#include <stdio.h>
#include <unistd.h>
#include <pthread.h>



int g_barrier = 0;
int g_count = 0;

void * thread_func(void * arg);



int main(int argc, char *argv[])
{

    pthread_t tr;
    pthread_create(&tr,NULL,thread_func,NULL);
    sleep(1);
    g_barrier = 1;
    sleep(1);
    printf("g_conut=%d\n",g_count);
    return 0;




}